MessageDialog.CancelButton

The optional "cancel" button. Its Visible property is False by default.

Syntax

CancelButton( MessageDialogButton ) as


Parameters

MessageDialogButton


Notes

Its default Caption is "Cancel" or the equivalent in the language used by the application. To be safe, you should set the Caption property explicitly. If clicked, its Cancel property is set to True.